package deweb.cimaplanning.dto;

public class MonthsPeriodsVersions {
	//datos del periodo
	protected int monthPeriodVersionId;
	protected int monthPeriodId;
	protected String shortName;
	protected int month;
	protected int year;
	protected int versionId;

	public MonthsPeriodsVersions() {
	}

	/**
	 * @return the monthPeriodVersionId
	 */
	public int getMonthPeriodVersionId() {
		return monthPeriodVersionId;
	}

	/**
	 * @param monthPeriodVersionId the monthPeriodVersionId to set
	 */
	public void setMonthPeriodVersionId(int monthPeriodVersionId) {
		this.monthPeriodVersionId = monthPeriodVersionId;
	}

	/**
	 * @return the monthPeriodId
	 */
	public int getMonthPeriodId() {
		return monthPeriodId;
	}

	/**
	 * @param monthPeriodId the monthPeriodId to set
	 */
	public void setMonthPeriodId(int monthPeriodId) {
		this.monthPeriodId = monthPeriodId;
	}

	/**
	 * @return the shortName
	 */
	public String getShortName() {
		return shortName;
	}

	/**
	 * @param shortName the shortName to set
	 */
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	/**
	 * @return the month
	 */
	public int getMonth() {
		return month;
	}

	/**
	 * @param month the month to set
	 */
	public void setMonth(int month) {
		this.month = month;
	}

	/**
	 * @return the year
	 */
	public int getYear() {
		return year;
	}

	/**
	 * @param year the year to set
	 */
	public void setYear(int year) {
		this.year = year;
	}
	
	/**
	 * @return the versionId
	 */
	public int getVersionId() {
		return versionId;
	}

	/**
	 * @param versionId the versionId to set
	 */
	public void setVersionId(int versionId) {
		this.versionId = versionId;
	}
	
	/**
	 * Method 'toString'
	 * 
	 * @return String
	 */
	public String toString()
	{
		StringBuffer ret = new StringBuffer();
		ret.append( "deweb.cimaplanning.dto.MonthsPeriodsVersions: " );
		ret.append( "monthPeriodVersionId=" + monthPeriodVersionId );
		ret.append( ", monthPeriodId=" + monthPeriodId );
		ret.append( ", shortName=" + shortName );
		ret.append( ", shortName=" + shortName );
		ret.append( ", month=" + month );
		ret.append( ", year=" + year );
		return ret.toString();
	}
}
